package ch.zbw.pra.sysventory;

import ch.zbw.pra.sysventory.domain.scanner.Scanner;
import ch.zbw.pra.sysventory.network.client.TCPClient;
import ch.zbw.pra.sysventory.ui.AgentMainFrame;
import ch.zbw.pra.sysventory.ui.InfoLabel;

public class AgentRunner {

	public static void main(String[] args) {

		final int port = 7777;
		@SuppressWarnings("unused")
		AgentMainFrame mainFrame = AgentMainFrame.getInstance();
		InfoLabel.setTextInfoLabel("Mit 'Enter' bestätigen...");

		Scanner scanner = new Scanner();
		new Thread(new TCPClient(port, scanner)).start();

	}

}
